package com.lay.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 保险套餐
 * </p>
 *
 * @author Lay
 * @since 2022-06-09
 */
public class InsurPack implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 套餐编号，主键，唯一
     */
    @TableId(value = "ip_id", type = IdType.AUTO)
    private Integer ipId;

    /**
     * 保险清单编号
     */
    @TableField(exist = false)
    private InserInclude include;

    private Integer iiId;

    public Integer getIiId() {
        return iiId;
    }

    public void setIiId(Integer iiId) {
        this.iiId = iiId;
    }

    /**
     * 套餐名称
     */
    private String ipName;

    /**
     * 套餐状态（0待审核，1上架，2下架）
     */
    private Integer ipState;

    /**
     * 审核人编号
     */
    private Integer unId;

    /**
     * 添加时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date ipAddtime;

    /**
     * 套餐优惠率
     */
    private Double ipRate;

    private Integer includenum;


    public Integer getIpId() {
        return ipId;
    }

    public void setIpId(Integer ipId) {
        this.ipId = ipId;
    }

    public InserInclude getInclude() {
        return include;
    }

    public void setInclude(InserInclude include) {
        this.include = include;
    }

    public String getIpName() {
        return ipName;
    }

    public void setIpName(String ipName) {
        this.ipName = ipName;
    }

    public Integer getIpState() {
        return ipState;
    }

    public void setIpState(Integer ipState) {
        this.ipState = ipState;
    }

    public Integer getUnId() {
        return unId;
    }

    public void setUnId(Integer unId) {
        this.unId = unId;
    }

    public Date getIpAddtime() {
        return ipAddtime;
    }

    public void setIpAddtime(Date ipAddtime) {
        this.ipAddtime = ipAddtime;
    }

    public Double getIpRate() {
        return ipRate;
    }

    public void setIpRate(Double ipRate) {
        this.ipRate = ipRate;
    }

    public Integer getIncludenum() {
        return includenum;
    }

    public void setIncludenum(Integer includenum) {
        this.includenum = includenum;
    }

}
